﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace todo.EntityFramework.Entities
{
    [SugarTable("do_user")]
    public class DoUser
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 用户名 
        ///</summary>
        [SugarColumn(ColumnName = "username")]
        public string UserName { get; set; }
        /// <summary>
        /// 邮箱 
        ///</summary>
        [SugarColumn(ColumnName = "email")]
        public string EMail { get; set; }
        /// <summary>
        /// 密码 
        ///</summary>
        [SugarColumn(ColumnName = "password")]
        public string PassWord { get; set; }
        /// <summary>
        ///  创建时间
        ///</summary>
        [SugarColumn(ColumnName = "creattime")]
        public DateTime? Creattime { get; set; }
        /// <summary>
        ///  操作时间
        ///</summary>
        [SugarColumn(ColumnName = "optime")]
        public DateTime? OpTime { get; set; }
        /// <summary>
        ///  状态
        ///</summary>
        [SugarColumn(ColumnName = "status")]
        public bool Status { get; set; }
    }
}
